﻿inherited FormCadProduto: TFormCadProduto
  Caption = 'Cadastro de produtos'
  ClientHeight = 472
  ClientWidth = 694
  ExplicitWidth = 700
  ExplicitHeight = 500
  PixelsPerInch = 96
  TextHeight = 13
  inherited pgcMestre: TPageControl
    Width = 694
    Height = 472
    ExplicitWidth = 694
    ExplicitHeight = 472
    inherited pagPrincipal: TTabSheet
      ExplicitLeft = 4
      ExplicitTop = 24
      ExplicitWidth = 686
      ExplicitHeight = 444
      object lblId: TLabel [0]
        Left = 15
        Top = 60
        Width = 10
        Height = 13
        Caption = 'Id'
      end
      object lblCodigo: TLabel [1]
        Left = 75
        Top = 60
        Width = 33
        Height = 13
        Caption = 'C'#243'digo'
      end
      object lblDescricao: TLabel [2]
        Left = 155
        Top = 60
        Width = 46
        Height = 13
        Caption = 'Descri'#231#227'o'
      end
      object lblComissao: TLabel [3]
        Left = 605
        Top = 60
        Width = 67
        Height = 13
        Caption = 'Comiss'#227'o (%)'
      end
      object edtId: TDBEdit [4]
        Left = 15
        Top = 75
        Width = 50
        Height = 21
        DataField = 'ID'
        DataSource = dtsMestre
        Enabled = False
        TabOrder = 0
      end
      object edtCodigo: TDBEdit [5]
        Left = 75
        Top = 75
        Width = 70
        Height = 21
        DataField = 'Codigo'
        DataSource = dtsMestre
        TabOrder = 1
      end
      object edtDescricao: TDBEdit [6]
        Left = 155
        Top = 75
        Width = 435
        Height = 21
        DataField = 'Descricao'
        DataSource = dtsMestre
        TabOrder = 2
      end
      inherited pnlBotoes: TPanel
        Width = 686
        TabOrder = 4
        ExplicitWidth = 686
      end
      object edtComissao: TDBEdit
        Left = 605
        Top = 75
        Width = 70
        Height = 21
        DataField = 'Comissao'
        DataSource = dtsMestre
        TabOrder = 3
      end
    end
    object pagIndustria: TTabSheet
      Caption = 'Industria/Marca'
      ImageIndex = 1
      object grdFornecedor: TDBGrid
        Left = 0
        Top = 115
        Width = 686
        Height = 329
        Align = alClient
        DataSource = dtsProdutoIndustria
        ReadOnly = True
        TabOrder = 0
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'Tahoma'
        TitleFont.Style = []
      end
      object Panel1: TPanel
        Left = 0
        Top = 0
        Width = 686
        Height = 50
        Align = alTop
        TabOrder = 1
        object BitBtn1: TBitBtn
          Left = 1
          Top = 1
          Width = 75
          Height = 48
          Action = actIndustriaNovo
          Align = alLeft
          Caption = 'Novo'
          Glyph.Data = {
            36030000424D3603000000000000360000002800000010000000100000000100
            18000000000000030000120B0000120B00000000000000000000FF00FFC1C1C1
            C1C1C1C1C1C1C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0
            C0C0C0C0FF00FFFF00FFFF00FFC7C7C7FEFEFEE1E1E1FCFCFCFCFCFCFCFCFCFC
            FCFCFCFCFCFCFCFCFCFCFCFCFCFCFEFEFEC6C6C6FF00FFFF00FFFF00FFCCCCCC
            CACACAE1E1E1DEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDE
            DECBCBCBFF00FFFF00FFFF00FFD1D1D1FDFDFDE1E1E1F5F5F5F5F5F5F5F5F5F5
            F5F5F5F5F5F4F4F4F4F4F4F3F3F3FCFCFCD0D0D0FF00FFFF00FFFF00FFD5D5D5
            DEDEDEE1E1E1DEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDE
            DED4D4D4FF00FFFF00FFFF00FFD7D7D7FDFDFDE1E1E1F8F8F8F8F8F8F8F8F8F8
            F8F8F7F7F7F7F7F7F7F7F7F6F6F6FDFDFDD7D7D7FF00FFFF00FFFF00FFDADADA
            DEDEDEE1E1E1DEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDE
            DEDADADAFF00FFFF00FFFF00FFDCDCDCCACACAE1E1E1FAFAFAFAFAFAFAFAFAFA
            FAFAFAFAFAF9F9F9F9F9F9F8F8F8FDFDFDDCDCDCFF00FFFF00FFFF00FFDDDDDD
            DEDEDEE1E1E1DEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDE
            DEDDDDDDFF00FFFF00FFFF00FFDEDEDEFEFEFEE1E1E1FCFCFCFCFCFCFCFCFCFC
            FCFCFBFBFBFBFBFBFAFAFAFAFAFAFEFEFEDEDEDEFF00FFFF00FFFF00FFDFDFDF
            DEDEDEE1E1E1DEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDE
            DEDFDFDFFF00FFFF00FFFF00FFDFDFDFFEFEFEE1E1E1FDFDFDFDFDFDFDFDFDFD
            FDFDFDFDFDFCFCFCFCFCFCFBFBFBFEFEFEDFDFDFFF00FFFF00FFFF00FFE0E0E0
            DEDEDEE1E1E1DEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEE0E0E0E5E5E5EDED
            EDDFDFDFFF00FFFF00FFFF00FFE0E0E0CACACAE1E1E1FDFDFDFEFEFEFEFEFEFE
            FEFEFDFDFDFDFDFDE5E5E5F1F1F1DFDFDFFF00FFFF00FFFF00FFFF00FFE0E0E0
            FFFFFFE1E1E1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDFDFDEDEDEDDFDFDFFF00
            FFFF00FFFF00FFFF00FFFF00FFE0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E0
            E0E0E0E0E0E0E0E0DFDFDFFF00FFFF00FFFF00FFFF00FFFF00FF}
          TabOrder = 0
        end
        object BitBtn3: TBitBtn
          Left = 76
          Top = 1
          Width = 75
          Height = 48
          Action = actIndustriaExcluir
          Align = alLeft
          Caption = 'Excluir'
          Glyph.Data = {
            36030000424D3603000000000000360000002800000010000000100000000100
            18000000000000030000120B0000120B00000000000000000000FF00FFFF00FF
            4442BC3C3CAAFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF0303
            7B02028CFF00FFFF00FFFF00FF514FC52222C83030C84848B7FF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FF1010870505A10101A204028DFF00FF5959CA2929D2
            1717D01616CE3838D15151BFFF00FFFF00FFFF00FFFF00FF2121940E0EA70101
            A60101A60101A204028D5555C34444DD1C1CDB1B1BD91A1AD53F3FD85757C4FF
            00FFFF00FF3434A41A1AB30202A80101A60101A602029F020278FF00FF6262CF
            4C4CE62121E31F1FDF1C1CDA4242DC5656C44848B72A2AC40A0AB60505AE0101
            A70505A003037BFF00FFFF00FFFF00FF6F6FD85656ED2424E82121E31D1DDD3F
            3FDA3838D31111C50D0DBC0808B40F0FA90D0D80FF00FFFF00FFFF00FFFF00FF
            FF00FF7777DD5959EF2626EA2121E41D1DDC1919D41414CB1010C21C1CB71D1D
            90FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF7676DB5757EC2626EA21
            21E31C1CDA1717D02828C52B2B9DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FF8888D97676EE3636ED2424E81E1EDE1919D52929C72B2B9EFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF9191D98D8DED6E6EF26363F14F
            4FEE3636E52121D91616CD1F1FBD1D1D92FF00FFFF00FFFF00FFFF00FFFF00FF
            9797D79E9EEB8787F57D7DF47272F37777E66D6DE15555E34646D93434CE2B2B
            B822228FFF00FFFF00FFFF00FF9C9CD4ACACEA9C9CF79494F68A8AF58B8BE776
            76CA6868C26C6CDA5B5BDE5252D54848CC4141B82F2F91FF00FF9D9DD0B4B4E7
            AEAEF8A7A7F89F9FF79B9BE68181CBFF00FFFF00FF6262B86B6BD25D5DD75151
            CE4747C54141B4323293A9A9C7B8B8EFB5B5F9AFAFF8A8A8E58888CCFF00FFFF
            00FFFF00FFFF00FF5959B06565CB5555CE4B4BC54545BB4343A4FF00FFAAA9C6
            BABAEEB1B1E48F8FCAFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF5656AD5C5C
            C54F4FC14D4DAAFF00FFFF00FFFF00FFACABC69898CEFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FF5050A95858AFFF00FFFF00FF}
          TabOrder = 1
        end
      end
      object pnlProduto: TPanel
        Left = 0
        Top = 50
        Width = 686
        Height = 65
        Align = alTop
        TabOrder = 2
        object lblFornecedor_Produto: TLabel
          Left = 15
          Top = 10
          Width = 38
          Height = 13
          Caption = 'Produto'
        end
        object edtFornecedor_Produto: TDBEdit
          Left = 15
          Top = 25
          Width = 650
          Height = 21
          DataField = 'Descricao'
          DataSource = dtsMestre
          Enabled = False
          TabOrder = 0
        end
      end
    end
    object pagReferencia: TTabSheet
      Caption = 'Refer'#234'ncia'
      ImageIndex = 2
      object grdReferencia: TDBGrid
        Left = 0
        Top = 165
        Width = 686
        Height = 279
        Align = alClient
        DataSource = dtsReferencia
        TabOrder = 0
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'Tahoma'
        TitleFont.Style = []
      end
      object Panel2: TPanel
        Left = 0
        Top = 0
        Width = 686
        Height = 50
        Align = alTop
        TabOrder = 1
        object BitBtn7: TBitBtn
          Left = 1
          Top = 1
          Width = 75
          Height = 48
          Action = actReferenciaNovo
          Align = alLeft
          Caption = 'Novo'
          Glyph.Data = {
            36030000424D3603000000000000360000002800000010000000100000000100
            18000000000000030000120B0000120B00000000000000000000FF00FFC1C1C1
            C1C1C1C1C1C1C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0
            C0C0C0C0FF00FFFF00FFFF00FFC7C7C7FEFEFEE1E1E1FCFCFCFCFCFCFCFCFCFC
            FCFCFCFCFCFCFCFCFCFCFCFCFCFCFEFEFEC6C6C6FF00FFFF00FFFF00FFCCCCCC
            CACACAE1E1E1DEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDE
            DECBCBCBFF00FFFF00FFFF00FFD1D1D1FDFDFDE1E1E1F5F5F5F5F5F5F5F5F5F5
            F5F5F5F5F5F4F4F4F4F4F4F3F3F3FCFCFCD0D0D0FF00FFFF00FFFF00FFD5D5D5
            DEDEDEE1E1E1DEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDE
            DED4D4D4FF00FFFF00FFFF00FFD7D7D7FDFDFDE1E1E1F8F8F8F8F8F8F8F8F8F8
            F8F8F7F7F7F7F7F7F7F7F7F6F6F6FDFDFDD7D7D7FF00FFFF00FFFF00FFDADADA
            DEDEDEE1E1E1DEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDE
            DEDADADAFF00FFFF00FFFF00FFDCDCDCCACACAE1E1E1FAFAFAFAFAFAFAFAFAFA
            FAFAFAFAFAF9F9F9F9F9F9F8F8F8FDFDFDDCDCDCFF00FFFF00FFFF00FFDDDDDD
            DEDEDEE1E1E1DEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDE
            DEDDDDDDFF00FFFF00FFFF00FFDEDEDEFEFEFEE1E1E1FCFCFCFCFCFCFCFCFCFC
            FCFCFBFBFBFBFBFBFAFAFAFAFAFAFEFEFEDEDEDEFF00FFFF00FFFF00FFDFDFDF
            DEDEDEE1E1E1DEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDE
            DEDFDFDFFF00FFFF00FFFF00FFDFDFDFFEFEFEE1E1E1FDFDFDFDFDFDFDFDFDFD
            FDFDFDFDFDFCFCFCFCFCFCFBFBFBFEFEFEDFDFDFFF00FFFF00FFFF00FFE0E0E0
            DEDEDEE1E1E1DEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEDEE0E0E0E5E5E5EDED
            EDDFDFDFFF00FFFF00FFFF00FFE0E0E0CACACAE1E1E1FDFDFDFEFEFEFEFEFEFE
            FEFEFDFDFDFDFDFDE5E5E5F1F1F1DFDFDFFF00FFFF00FFFF00FFFF00FFE0E0E0
            FFFFFFE1E1E1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDFDFDEDEDEDDFDFDFFF00
            FFFF00FFFF00FFFF00FFFF00FFE0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E0
            E0E0E0E0E0E0E0E0DFDFDFFF00FFFF00FFFF00FFFF00FFFF00FF}
          TabOrder = 0
        end
        object BitBtn8: TBitBtn
          Left = 76
          Top = 1
          Width = 75
          Height = 48
          Action = actReferenciaEditar
          Align = alLeft
          Caption = 'Editar'
          Glyph.Data = {
            36030000424D3603000000000000360000002800000010000000100000000100
            18000000000000030000120B0000120B00000000000000000000FF00FFFF00FF
            FF00FFFF00FF8484848484848383838282828181818181818080807F7F7F7F7F
            7F7E7E7EFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF939393F9F9F9F3F3F3F3
            F3F3F3F3F3F3F3F3F2F2F2F2F2F2F8F8F88E8E8EFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FF9F9F9FF4F4F4E9E9E9EAEAEAEAEAEAE9E9E9E8E8E8E7E7E7F2F2
            F29B9B9BFF00FFFF00FFFF00FF8484848484847D7D7DA9A9A9F6F6F6EDEDEDED
            EDEDEDEDEDEDEDEDECECECEAEAEAF4F4F4A6A6A6FF00FFFF00FFFF00FF939393
            F9F9F9DFDFDFB1B1B1F7F7F7F0F0F0F0F0F0F0F0F0F0F0F0EFEFEFEEEEEEF6F6
            F6AEAEAEFF00FFFF00FFFF00FF9F9F9FF4F4F4D6D6D6B6B6B6F8F8F8F3F3F3F3
            F3F3F3F3F3F3F3F3F2F2F2F0F0F0F7F7F7B4B4B4FF00FFFF00FFFF00FFA9A9A9
            F6F6F6DADADABABABAFAFAFAF5F5F5F5F5F5F5F5F5F5F5F5F4F4F4F3F3F3F8F8
            F8B9B9B9FF00FFFF00FFFF00FFB1B1B1F7F7F7DCDCDCBDBDBDFBFBFBF7F7F7F8
            F8F8F8F8F8F7F7F7F6F6F6F5F5F5F9F9F9BCBCBCFF00FFFF00FFFF00FFB6B6B6
            F8F8F8DFDFDFBFBFBFFCFCFCF9F9F9F9F9F9F9F9F9F9F9F9F8F8F8F6F6F6FAFA
            FABEBEBEFF00FFFF00FFFF00FFBABABAFAFAFAE1E1E1BFBFBFFCFCFCFAFAFAFB
            FBFBFBFBFBFAFAFAB8B8B8CFCFCFD2D2D2BFBFBFFF00FFFF00FFFF00FFBDBDBD
            FBFBFBE3E3E3C0C0C0FDFDFDFBFBFBFCFCFCFCFCFCFBFBFBD8D8D8F5F5F5D5D5
            D5C0C0C0FF00FFFF00FFFF00FFBFBFBFFCFCFCE5E5E5C0C0C0FEFEFEFDFDFDFE
            FEFEFEFEFEFDFDFDCFCFCFCCCCCCC0C0C0FF00FFFF00FFFF00FFFF00FFBFBFBF
            FCFCFCE5E5E5C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0FF00
            FFFF00FFFF00FFFF00FFFF00FFC0C0C0FDFDFDEBEBEBE9E9E9E9E9E9E8E8E8E7
            E7E7D3D3D3C8C8C8C0C0C0FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFC0C0C0
            FEFEFEFDFDFDFEFEFEFEFEFEFDFDFDFCFCFCCCCCCCC0C0C0FF00FFFF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFC0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0
            C0C0C0C0C0FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF}
          TabOrder = 1
        end
        object BitBtn9: TBitBtn
          Left = 226
          Top = 1
          Width = 75
          Height = 48
          Action = actReferenciaExcluir
          Align = alLeft
          Caption = 'Excluir'
          Glyph.Data = {
            36030000424D3603000000000000360000002800000010000000100000000100
            18000000000000030000120B0000120B00000000000000000000FF00FFFF00FF
            4442BC3C3CAAFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF0303
            7B02028CFF00FFFF00FFFF00FF514FC52222C83030C84848B7FF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FF1010870505A10101A204028DFF00FF5959CA2929D2
            1717D01616CE3838D15151BFFF00FFFF00FFFF00FFFF00FF2121940E0EA70101
            A60101A60101A204028D5555C34444DD1C1CDB1B1BD91A1AD53F3FD85757C4FF
            00FFFF00FF3434A41A1AB30202A80101A60101A602029F020278FF00FF6262CF
            4C4CE62121E31F1FDF1C1CDA4242DC5656C44848B72A2AC40A0AB60505AE0101
            A70505A003037BFF00FFFF00FFFF00FF6F6FD85656ED2424E82121E31D1DDD3F
            3FDA3838D31111C50D0DBC0808B40F0FA90D0D80FF00FFFF00FFFF00FFFF00FF
            FF00FF7777DD5959EF2626EA2121E41D1DDC1919D41414CB1010C21C1CB71D1D
            90FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF7676DB5757EC2626EA21
            21E31C1CDA1717D02828C52B2B9DFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF
            FF00FFFF00FF8888D97676EE3636ED2424E81E1EDE1919D52929C72B2B9EFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF9191D98D8DED6E6EF26363F14F
            4FEE3636E52121D91616CD1F1FBD1D1D92FF00FFFF00FFFF00FFFF00FFFF00FF
            9797D79E9EEB8787F57D7DF47272F37777E66D6DE15555E34646D93434CE2B2B
            B822228FFF00FFFF00FFFF00FF9C9CD4ACACEA9C9CF79494F68A8AF58B8BE776
            76CA6868C26C6CDA5B5BDE5252D54848CC4141B82F2F91FF00FF9D9DD0B4B4E7
            AEAEF8A7A7F89F9FF79B9BE68181CBFF00FFFF00FF6262B86B6BD25D5DD75151
            CE4747C54141B4323293A9A9C7B8B8EFB5B5F9AFAFF8A8A8E58888CCFF00FFFF
            00FFFF00FFFF00FF5959B06565CB5555CE4B4BC54545BB4343A4FF00FFAAA9C6
            BABAEEB1B1E48F8FCAFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF5656AD5C5C
            C54F4FC14D4DAAFF00FFFF00FFFF00FFACABC69898CEFF00FFFF00FFFF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FF5050A95858AFFF00FFFF00FF}
          TabOrder = 4
        end
        object BitBtn10: TBitBtn
          Left = 301
          Top = 1
          Width = 75
          Height = 48
          Action = actReferenciaCancelar
          Align = alLeft
          Caption = 'Cancelar'
          Glyph.Data = {
            36030000424D3603000000000000360000002800000010000000100000000100
            18000000000000030000120B0000120B00000000000000000000FF00FFFF00FF
            FF00FFFF00FFFF00FFB9B8B8BABABAB3B2B2B3B2B2BAB9B9B9B8B8FF00FFFF00
            FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFB3B2B2BCBABAD8D5D5D6D2D2CE
            CACAC9C4C4C4BEBEBCB6B6B4B2B2B3B2B2FF00FFFF00FFFF00FFFF00FFFF00FF
            AAA9A9DDDCDCD8D6DF817FBD4E4DC16B6BD96A6AD25151C68582B8C0BBBBB7B2
            B2AAA9A9FF00FFFF00FFFF00FFB4B3B3EEEEEEBBB8D42B2BC55A5AED9393F6A9
            A9F8ABABF89393F75555EF302EC0B0ABB6B8B3B3B3B2B2FF00FFFF00FFC8C7C7
            E0DFE62222BD3C3CD63E3EB24848C38C8CF58D8DF54949C33F3FB23F3FD92929
            BCC4BFBFB5B3B3FF00FFCBCACAECECEC7D7CC92929D35959BCCACACAACACC73A
            3ABC3B3BBCACACC7CACACA5555B82020D57472B8C2BDBDCCCBCBC5C4C4E4E3E3
            1F1FBD2323BA2626B1ACACC7C6C6C6B0B0CAB0B0CAC6C6C6ACACC72424AE2323
            BF2A2AB7CCC8C8C2C2C2B9B8B8CFCECE1313C21212A91E1EB82020ABAFAFCACE
            CECECECECEAFAFCA2121AB1F1FBA1414AC0505B4D3CFCFB4B3B3B9B8B8CCCBCB
            7777D66868D93838CA2020ABC7C7E1E9E9E9E9E9E9C7C7E12121AB3D3DCB6E6E
            DC4747C8D9D6D6B4B3B3BBBABAD6D6D67676CA8383DF3939B6CFCFEAFEFEFECF
            CFEACFCFEAFEFEFECFCFEA3535B28B8BE17B7AC2E4E1E1BABABAB8B8B8D5D5D5
            9291C5A1A1E67F7FCAFEFEFECFCFEA4242BF4242BFCFCFEAFEFEFE7878C6A2A2
            E78382BBE6E5E5B9B8B8FF00FFBEBEBEC5C5CE8484D08484D47979C66D6DCF7E
            7EDB7E7EDB6868CC7979C68787D68181C7E5E4EDBEBEBEFF00FFFF00FFB3B2B2
            D3D3D3C4C4CB8E8ED3B4B4E8A9A9E3A2A2E1A3A3E1ACACE4B5B5E8908FCDBDBC
            D6EDEDEDB4B3B3FF00FFFF00FFFF00FFACACACD3D3D3D3D3D8B7B6D7A8A8DC9E
            9EDA9D9DDAA4A3DBAFAED6E1E1E6E7E7E7ACABABFF00FFFF00FFFF00FFFF00FF
            FF00FFB3B2B2C2C1C1D4D4D4D9D9D9DFDEDEE0E0E0E3E3E3E3E3E3C5C5C5B4B3
            B3FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFC2C1C1BEBDBDB4
            B3B3B4B3B3BDBCBCC2C1C1FF00FFFF00FFFF00FFFF00FFFF00FF}
          TabOrder = 3
        end
        object BitBtn11: TBitBtn
          Left = 151
          Top = 1
          Width = 75
          Height = 48
          Action = actReferenciaSalvar
          Align = alLeft
          Caption = 'Salvar'
          Glyph.Data = {
            36030000424D3603000000000000360000002800000010000000100000000100
            18000000000000030000120B0000120B00000000000000000000FF00FF9A5314
            9A53149A53147B61418686868787878080809494948787877E7E7E6E6E6E7B61
            419640047F3F087F3F08FF00FF9C5414C66C1CC76C1D7B614183838396400496
            4004B7B7B7BCBCBCA6A6A68787877B614196400495480A91440BFF00FFA65B17
            CA711FCB711F7B61417E7E7E964004964004C6C6C6CFCFCFB5B5B59292927B61
            4196400495490B91440BFF00FFA95F19CE7622CF77227B614179797996400496
            4004D3D3D3E3E3E3C8C8C89D9D9D7B6141964004974B0B92450CFF00FFAC631C
            D27C27D37E297B6141747474747474747474D5D5D5F6F6F6DBDBDBABABAB7B61
            41964004984C0C94470DFF00FFAF6B28D6883AD78A3DA871347B61417B61417B
            61417B61417B61417B61417B6141845121904709A0541195480DFF00FFB27436
            CA8444D1AA89CFA887CDA584CBA381C99F7CC69B77C59975C49874C39774C296
            73C19573B6611F96490EFF00FFB57D45D19D6EF0F0F0EDEDEDE9E9E9E5E5E5E2
            E2E2DEDEDEDBDBDBD7D7D7D6D6D6D6D6D6D6D6D6BB7843974B0EFF00FFB88552
            D09F75E4E4E4E1E1E1DEDEDEDCDCDCD9D9D9D6D6D6D4D4D4D1D1D1CECECECCCC
            CCCACACAB97640974C0FFF00FFBB8C5ED8AB84FEFEFEFCFCFCF9F9F9F5F5F5F2
            F2F2EEEEEEEBEBEBE7E7E7E3E3E3E0E0E0DCDCDCBD7A45984C0FFF00FFBC9167
            D4A985E8E8E8E8E8E8E8E8E8E7E7E7E5E5E5E2E2E2E0E0E0DDDDDDDADADAD8D8
            D8D5D5D5BC7943984C0FFF00FFBD936BDAB18EFEFEFEFEFEFEFEFEFEFEFEFEFE
            FEFEFDFDFDFAFAFAF7F7F7F3F3F3F0F0F0ECECECC27F49994D10FF00FFBD9268
            D4AA86E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E8E6E6E6E4E4
            E4E1E1E1BF7C46984D0FFF00FFBD9268CA9B75FEFEFEFEFEFEFEFEFEFEFEFEFE
            FEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFBFBFBBC7B498F450CFF00FFBD9268
            CA9B754229924229924229924229924229924229924229924229924229924229
            92422992BC7B498F450CFF00FFB1805D975C454D1C744D1C744D1C744D1C744D
            1C744D1C744D1C744D1C744D1C744D1C744D1C74853D2687410A}
          TabOrder = 2
        end
      end
      object pnlProdutoFornecedor: TPanel
        Left = 0
        Top = 50
        Width = 686
        Height = 115
        Align = alTop
        TabOrder = 2
        object lblReferencia_Produto: TLabel
          Left = 20
          Top = 15
          Width = 38
          Height = 13
          Caption = 'Produto'
        end
        object lblReferênciaIndustriaMarca: TLabel
          Left = 20
          Top = 60
          Width = 76
          Height = 13
          Caption = 'Industria/marca'
        end
        object edtReferencia_Produto: TDBEdit
          Left = 20
          Top = 33
          Width = 650
          Height = 21
          DataField = 'Descricao'
          DataSource = dtsMestre
          Enabled = False
          TabOrder = 0
        end
        object edtReferencia_IndustriaMarca: TDBEdit
          Left = 20
          Top = 75
          Width = 650
          Height = 21
          DataField = 'Descricao'
          DataSource = dtsProdutoIndustria
          Enabled = False
          TabOrder = 1
        end
      end
    end
  end
  inherited dtsMestre: TDataSource
    Left = 20
    Top = 425
  end
  inherited actAcoes: TActionList
    Left = 184
    Top = 425
    object actReferenciaCancelar: TAction [4]
      Category = 'Referencia'
      Caption = 'Cancelar'
      OnExecute = actReferenciaCancelarExecute
    end
    inherited actPesquisar: TAction
      OnExecute = actPesquisarExecute
    end
    object actIndustriaNovo: TAction
      Category = 'Industria'
      Caption = 'Novo'
      OnExecute = actIndustriaNovoExecute
    end
    object actIndustriaSalvar: TAction
      Category = 'Industria'
      Caption = 'Salvar'
      OnExecute = actIndustriaSalvarExecute
    end
    object actIndustriaExcluir: TAction
      Category = 'Industria'
      Caption = 'Excluir'
      OnExecute = actIndustriaExcluirExecute
    end
    object actReferenciaNovo: TAction
      Category = 'Referencia'
      Caption = 'Novo'
      OnExecute = actReferenciaNovoExecute
    end
    object actReferenciaEditar: TAction
      Category = 'Referencia'
      Caption = 'Editar'
      OnExecute = actReferenciaEditarExecute
    end
    object actReferenciaSalvar: TAction
      Category = 'Referencia'
      Caption = 'Salvar'
      OnExecute = actReferenciaSalvarExecute
    end
    object actReferenciaExcluir: TAction
      Category = 'Referencia'
      Caption = 'Excluir'
      OnExecute = actReferenciaExcluirExecute
    end
  end
  inherited cdsMestre: TClientDataSet
    Active = True
    Params = <
      item
        DataType = ftInteger
        Name = 'ID'
        ParamType = ptInput
      end>
    AfterOpen = cdsMestreAfterOpen
    AfterRefresh = cdsMestreAfterRefresh
    OnReconcileError = cdsMestreReconcileError
    Left = 75
    Top = 425
    object cdsMestreId: TAutoIncField
      FieldName = 'Id'
      Origin = 'Id'
      ProviderFlags = [pfInWhere, pfInKey]
      ReadOnly = True
    end
    object cdsMestreCodigo: TIntegerField
      FieldName = 'Codigo'
      Origin = 'Codigo'
    end
    object cdsMestreDescricao: TStringField
      FieldName = 'Descricao'
      Origin = 'Descricao'
      Required = True
      Size = 60
    end
    object cdsMestrepId: TLargeintField
      FieldName = 'pId'
      Origin = 'pId'
      ProviderFlags = []
      ReadOnly = True
    end
    object cdsMestreQCadProdutoIndustria: TDataSetField
      FieldName = 'QCadProdutoIndustria'
    end
    object cdsMestreComissao: TFloatField
      FieldName = 'Comissao'
      Origin = 'Comissao'
      Required = True
    end
  end
  inherited dspMestre: TDataSetProvider
    DataSet = DM.QCadProduto
    Left = 132
    Top = 425
  end
  object cdsProdutoIndustria: TClientDataSet
    Active = True
    Aggregates = <>
    DataSetField = cdsMestreQCadProdutoIndustria
    Params = <>
    AfterOpen = cdsProdutoIndustriaAfterOpen
    Left = 260
    Top = 425
    object cdsProdutoIndustriaId: TAutoIncField
      FieldName = 'Id'
      Origin = 'Id'
      ProviderFlags = [pfInWhere, pfInKey]
      ReadOnly = True
    end
    object cdsProdutoIndustriaProduto_Id: TIntegerField
      FieldName = 'Produto_Id'
      Origin = 'Produto_Id'
      Required = True
    end
    object cdsProdutoIndustriaIndustriaMarca_Id: TIntegerField
      FieldName = 'IndustriaMarca_Id'
      Origin = 'IndustriaMarca_Id'
      Required = True
    end
    object cdsProdutoIndustriaDescricao: TStringField
      FieldName = 'Descricao'
      Origin = 'Descricao'
      ProviderFlags = []
      ReadOnly = True
      Size = 50
    end
    object cdsProdutoIndustriapId: TLargeintField
      FieldName = 'pId'
      Origin = 'pId'
      ProviderFlags = []
      ReadOnly = True
    end
    object cdsProdutoIndustriaQCadProdutoReferencia: TDataSetField
      FieldName = 'QCadProdutoReferencia'
    end
  end
  object dtsProdutoIndustria: TDataSource
    DataSet = cdsProdutoIndustria
    Left = 360
    Top = 425
  end
  object cdsReferencia: TClientDataSet
    Active = True
    Aggregates = <>
    DataSetField = cdsProdutoIndustriaQCadProdutoReferencia
    Params = <>
    AfterOpen = cdsReferenciaAfterOpen
    BeforePost = cdsReferenciaBeforePost
    AfterPost = cdsReferenciaAfterPost
    Left = 450
    Top = 424
    object cdsReferenciaId: TAutoIncField
      FieldName = 'Id'
      Origin = 'Id'
      ProviderFlags = [pfInWhere, pfInKey]
      ReadOnly = True
    end
    object cdsReferenciaProdutoIndustria_Id: TIntegerField
      FieldName = 'ProdutoIndustria_Id'
      Origin = 'ProdutoIndustria_Id'
      Required = True
    end
    object cdsReferenciaReferencia: TIntegerField
      FieldName = 'Referencia'
      Origin = 'Referencia'
      Required = True
    end
    object cdsReferenciaDescricao: TStringField
      FieldName = 'Descricao'
      Origin = 'Descricao'
      Required = True
      Size = 60
    end
    object cdsReferenciaEstoque: TIntegerField
      FieldName = 'Estoque'
      Origin = 'Estoque'
    end
    object cdsReferenciaPCusto: TFloatField
      FieldName = 'PCusto'
      Origin = 'pCusto'
      currency = True
    end
    object cdsReferenciaPVenda: TFloatField
      FieldName = 'PVenda'
      Origin = 'pVenda'
      currency = True
    end
    object cdsReferenciapId: TLargeintField
      FieldName = 'pId'
      Origin = 'pId'
      ProviderFlags = []
      ReadOnly = True
    end
  end
  object dtsReferencia: TDataSource
    DataSet = cdsReferencia
    Left = 525
    Top = 424
  end
end
